<block name="header"></block>

<div id="main-container" class="container" style="height:100%;">

    <div class="row" style="height:100%;" <if condition="$_GET['order'] neq ''"></if>>

        <block name="side">

        <!-- 左侧 nav

        ================================================== -->

            <div class="span3 bs-docs-sidebar">

                <block name="publish"></block>

                <ul class="nav nav-list bs-docs-sidenav">

                    {:W('Category/lists', array($category['id'], ACTION_NAME == 'index'))}

                </ul>

            </div>

        </block>

        <block name="body"></block>

    </div>

</div>



<script type="text/javascript">

    $(function(){

        $(window).resize(function(){

            $("#main-container").css("min-height", $(window).height() - 343);

        }).resize();

    })

</script>